cURL
curl --request DELETE \ --url http:///%7B{baseurl}%7D/api/v1/management/attribute-classes/{attributeClassId} \ --header 'x-api-key: <x-api-key>'
{ "data": { "archived": false, "createdAt": "2024-04-22T08:59:27.319Z", "description": null, "environmentId": "clurwouax000azffxt7n5unn3", "id": "clvaq78470004mhqfm0x3kasv", "name": "Init Attribute 2", "type": "code", "updatedAt": "2024-04-22T08:59:27.319Z" } }
Delete an attribute class by its ID. Please note that you currently cannot delete the “automatic” type of attributes. Please ignore them if you do not wish to utilise them.
OK
The response is of type object.
object
Was this page helpful?